package com.example.shopping.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Commodity extends BasePojo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String img;
    private String name;
    private String details;
    private BigDecimal price;
    private int recommend;
    private int type;
    private int flag;

    // Getters and Setters
}